import { createApp } from 'vue'
import Frame from './main.vue'
export default {
    install(app:any){
        const ins = createApp(Frame).mount(document.createElement("div")) as InstanceType<typeof Frame>
        document.body.appendChild(ins.$el)
        app.config.globalProperties.$showFrame = ins.show
    }
}